Mpdf\Http\Request S

Total Complexity 47
Dependencies 5
Dependents 1
Total lines 307
Lines of code 179
Logical lines of code 110
Comment lines 30
Methods 21
Properties 7

Methods 21

Method Rating Maintainability Complexity Lines of code
__construct()
S
58 5 15
setHeaders()
S
57 4 17
updateHostFromUri()
S
58 4 16
getRequestTarget()
S
61 4 13
withUri()
S
63 4 11
withAddedHeader()
S
58 3 16
withHeader()
S
60 3 14
withRequestTarget()
S
66 2 8
withBody()
S
68 2 8
getBody()
S
69 2 7
withoutHeader()
S
64 2 10
withProtocolVersion()
S
68 2 8
getHeader()
S
67 2 8
getHeaders()
S
82 1 3
getHeaderLine()
S
79 1 3
hasHeader()
S
79 1 3
getProtocolVersion()
S
82 1 3
getUri()
S
82 1 3
withMethod()
S
74 1 5
getMethod()
S
82 1 3
trimHeaderValues()
S
73 1 5